/*
 *  $Id: ShamanicFire.cs 1051 2010-05-18 22:10:41Z thenn.erannor $
 *  This file is a part of Ragima CCG.
 *  (C) 2008 Ragima development group.
 *
 *  Licensed under the terms of the GNU GPL License version 2.
 *
 */

namespace Ragima.Cards001.Earth.Abilities {
    public class ShamanicFire: AbilityCard<GraveyardData> {
        public ShamanicFire(): base("001_e_a_shamanic_fire") {
            Level = CompleteLevel.ReadyForTest;
            Element = ElementType.Earth;
            Target = GraveyardTarget.Both;
            AddManaCost(ElementType.Earth, 1);
        }

        protected override void DoAction(TargetArgs<GraveyardData> args) {
            args.Target.MoveToSecondDeck();
            args.Player.IncrementMana(ElementType.Earth, args.Target.Item.Card.GetHealth());
        }
    }
}
